# -*- coding: utf-8 -*-
"""
Created on Sat Oct 06 11:53:12 2012

@author: Tomek
"""

import namespace
import sys


#sys.argv[1]==namespace file path(for example it can be file name without .h/.cpp)
print "this must work"
if namespace._DEBUG_:
    namespace.saveNamespace("_ns_",namespace.getGlobalNamespace())
if len(sys.argv)==2:
    fullpath=""
    for p in range(1,len(sys.argv)):
        fullpath=fullpath+" "+sys.argv[p]
    namespace.saveNamespace(fullpath,namespace.getGlobalNamespace())
print "somehow this should work"